﻿@model AirLine.WebApp.Models.LocalPasswordModel
@{
    ViewBag.Title = "Manage Account";
}
<div class="wrapper pad1" >
    <article class="col1">
	    <div class="box1">           
		   <ul class="nav nav-list">
                <li class="nav-header">Hello @User.Identity.Name</li>
                <li class="active"><a href="home">Change your password</a></li>
                <li><a href="library">Change your profile</a></li>
                <li class="nav-header">Manage your earnmile</li>
                <li><a href="#">Change prize</a></li>
                <li class="nav-header">Manage your booking</li>
                <li><a href="#">See history booking</a></li>
                <li class="divider"></li>
                <li><a href="#">Log off</a></li>
              </ul> 
		</div>
	</article>
    <article class="col2">
        @if (ViewBag.HasLocalPassword)
        {
            @Html.Partial("_ChangePasswordPartial")
        }
        else
        { 
            @Html.Partial("_SetPasswordPartial")
        }

@*        <section id="externalLogins">
            @Html.Action("RemoveExternalLogins")

            <h3>Add an external login</h3>
            @Html.Action("ExternalLoginsList", new { ReturnUrl = ViewBag.ReturnUrl })
        </section>*@
    </article>
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
